package com.isoft.filelistener.dao;

import com.isoft.filelistener.entity.CfceDflt;
import com.isoft.filelistener.entity.Meta;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface DfmeCfceDao {
    @Insert("insert into TEAM_03.DFME_CFCE(SNDR,RCVR,SEQN,DDTM,TYPE,STYP,FLID,FFID,FIDE,CFTP,CFNO) " +
            "values(#{meta.sndr},#{meta.rcvr},#{meta.seqn},#{meta.ddtm},#{meta.type},#{meta.styp}," +
            "#{dflt.slid},#{dflt.ffid},#{dflt.fide},#{dflt.cftp},#{dflt.cfno})")
    public int insertcfce(@Param("meta") Meta meta, @Param("dflt") CfceDflt dflt);
}
